package com.CST.bo.zx;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @Author 伍文毅
 * @Date 2023 03 14 14 41
 **/
@ApiModel(value = "项目明细查询条件")
@Data
public class ProjectDetailBO {

    @ApiModelProperty(value = "结束时间,例2022-01-01")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    public LocalDate endTime;

    @ApiModelProperty(value = "结束时间下个月的1号，例2022-01-01")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    public LocalDate endNextMonthTime;

    @ApiModelProperty(value = "开始时间，例2022-01-01")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    public LocalDate startTime;

    @ApiModelProperty(value = "开始时间下个月的1号，例2022-01-01")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    public LocalDate startNextMonthTime;

    @ApiModelProperty(value = "开始日期（不需要赋值）,例202201")
    public Integer startDate;

    @ApiModelProperty(value = "结束日期（不需要赋值），例202201")
    public Integer endDate;

    @ApiModelProperty(value = "第几页，必要")
    public Integer pageNo;

    @ApiModelProperty(value = "每页几条，必要")
    public Integer pageSize;

    @ApiModelProperty(value = "科目编码")
    private String accountCode;

    @ApiModelProperty(value = "科目名称")
    private String accountName;

    @ApiModelProperty(value = "费用类别编号 ")
    private Long expenseTypeCode;

    @ApiModelProperty(value = "费用类型名称")
    private String expenseTypeName;

    @ApiModelProperty(value = "收支类型编号 ")
    private Long reExTypeCode;

    @ApiModelProperty(value = "收支类型名称")
    private String reExTypeName;

    @ApiModelProperty(value = "财务编码，必要")
    private String financialCode;
}
